<?php /*a:5:{s:87:"/Users/zhaojun/Workspace/wwwtp/dancephp.com/application/admin/view/auth_rule/index.html";i:1700119524;s:55:"../application/admin/view/public/layout_danceadmin.html";i:1700189766;s:62:"../application/admin/view/public/menu_danceadmin_selfmenu.html";i:1680830270;s:53:"../application/admin/view/public/menu_danceadmin.html";i:1700190390;s:34:"./themes/public/notice_manage.html";i:1699924134;}*/ ?>
<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="utf-8">
	<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
	<meta name="description" content="">
	<meta name="author" content="">
	<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
	<title><?php echo htmlentities($site_seo_title); ?></title>

	<!-- Custom fonts for this template -->
	<link rel="stylesheet" href="/static/iconfont/iconfont.css" />

	<!-- Custom styles for this template -->
	<link href="/static/danceAdmin/css/bootstrap.min.css" rel="stylesheet">
	<link href="/static/danceAdmin/css/dance-admin.css?<?php echo htmlentities($adminCache); ?>" rel="stylesheet">
</head>
<body id="page-top" class="<?php echo config('app.dashboard_style'); ?>" data-fold="<?php echo config('app.layout_fold'); ?>">

<!-- Page Wrapper -->
<div id="wrapper">
	
	<?php if($isSelfmenu == 1): ?>
	<!-- Sidebar -->
<ul class="navbar-nav sidebar sidebar-dark accordion" id="accordionSidebar">

	<!-- Sidebar - Brand -->
	<a class="sidebar-brand d-flex align-items-center justify-content-center" href="<?php echo htmlentities($dashboardPageUrl); ?>">
		<div class="sidebar-brand-icon rotate-n-15">
			<i class="iconfontzz icon-kuaisushengjix"></i>
		</div>
		<div class="sidebar-brand-text mx-3">dancePHP</div>
	</a>
	
	<!-- Divider -->
	<hr class="sidebar-divider my-0">

	<!-- Nav Item - Dashboard -->
	<li class="nav-item">
		<a class="nav-link" href="<?php echo htmlentities($dashboardPageUrl); ?>">
			<i class="iconfontzz icon-menu_kongzhitai"></i>
			<span>控制面板</span>
		</a>
	</li>
	
	<!-- Divider -->
	<hr class="sidebar-divider">

	<!-- Heading -->
	<div class="sidebar-heading">
		<?php echo htmlentities($voCate['name']); ?>
	</div>
	<?php if(is_array($sideBarMenuCate) || $sideBarMenuCate instanceof \think\Collection || $sideBarMenuCate instanceof \think\Paginator): $i = 0; $__LIST__ = $sideBarMenuCate;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$voMenu): $mod = ($i % 2 );++$i;
		//print_r($voMenu);exit;
		if ($voMenu['url']) {
			$url = $vo2['url'];
			$right = '';
			$liClass = '';
		} else {
			$url = 'javascript:;';
			$right = '<span class="pull-right-container"><i class="fa fa-angle-left pull-right"></i></span>';
			$liClass = 'treeview menu-open';
		}
		//if ($voMenu['current'] == 1) {
		//	$navMenu = '';
		//	$submenuShow = 'show';
		//} else {
		//	$navMenu = 'collapsed';
		//	$submenuShow = '';
		//}
		$navMenu = '';
		$submenuShow = 'show';
	?>
	<!-- Nav Item - Pages Collapse Menu -->
	<li class="nav-item">
		<a class="nav-link <?php echo htmlentities($navMenu); ?>" href="#" data-toggle="collapse" data-target="#menu_<?php echo htmlentities($voMenu['id']); ?>" aria-expanded="true" aria-controls="menu_<?php echo htmlentities($voMenu['id']); ?>">
			<i class="iconfontzz icon-shezhi"></i>
			<span><?php echo htmlentities($voMenu['name']); ?></span>
		</a>
		<div id="menu_<?php echo htmlentities($voMenu['id']); ?>" class="collapse <?php echo htmlentities($submenuShow); ?>" aria-labelledby="headingTwo" data-parent="#accordionSidebar">
			<div class="bg-white py-2 collapse-inner rounded">
				<?php if(is_array($voMenu['subs']) || $voMenu['subs'] instanceof \think\Collection || $voMenu['subs'] instanceof \think\Paginator): $i = 0; $__LIST__ = $voMenu['subs'];if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$voSub): $mod = ($i % 2 );++$i;
					if ($voSub['sideFlag'] == $sideFlag) {
						$subActive = 'active';
					} else {
						$subActive = '';
					}
					if ($wid) {
						$voSub['url'] = $voSub['url'].'/wid/'.$wid;
					}
				?>
				<a class="collapse-item <?php echo htmlentities($subActive); ?>" href="<?php echo htmlentities($voSub['url']); ?>"><?php echo htmlentities($voSub['name']); ?></a>
				<?php endforeach; endif; else: echo "" ;endif; ?>
			</div>
		</div>
	</li>
	<?php endforeach; endif; else: echo "" ;endif; ?>

	<!-- Divider -->
	<hr class="sidebar-divider d-none d-md-block">

</ul>
<!-- End of Sidebar -->
	<?php else: ?>
	<!-- Sidebar -->
<ul class="navbar-nav sidebar accordion" id="accordionSidebar">

	<!-- Sidebar - Brand -->
	<a class="sidebar-brand d-flex align-items-center justify-content-center" href="<?php echo htmlentities($dashboardPageUrl); ?>">
		<div class="sidebar-brand-text mx-2"><?php echo config('system.simple_title'); ?></div>
	</a>
	
	<div class="user-photo">
		<a class="user-img" title="我的头像">
			<img src="<?php echo htmlentities($adminInfo['avatar']); ?>" class="user-avatar">
		</a>
		<div class="user-hello">你好！<span class="user-name"><?php echo htmlentities($adminInfo['username']); ?></span>, 欢迎登录</div>
    </div>
    
	<!-- Divider -->
	<hr class="sidebar-divider my-0">

	<!-- Nav Item - Dashboard -->
	<li class="nav-item">
		<a class="nav-link" href="<?php echo htmlentities($dashboardPageUrl); ?>">
			<i class="iconfontzz icon-kongzhitai"></i>
			<span>控制台</span>
		</a>
		<span class="daui-nav-bar"></span>
	</li>
	
	<?php if(is_array($sideBarMenuCate) || $sideBarMenuCate instanceof \think\Collection || $sideBarMenuCate instanceof \think\Paginator): $i = 0; $__LIST__ = $sideBarMenuCate;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$voCate): $mod = ($i % 2 );++$i;?>
		<!-- Divider -->
		<hr class="sidebar-divider">

		<!-- Heading -->
		<div class="sidebar-heading" style="display: none">
			<?php echo htmlentities($voCate['name']); ?>
		</div>
<?php
$sidebarMenuArr = $sidebarMenuGroup[$voCate['id']];
if(is_array($sidebarMenuArr) || $sidebarMenuArr instanceof \think\Collection || $sidebarMenuArr instanceof \think\Paginator): $i = 0; $__LIST__ = $sidebarMenuArr;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$voMenu): $mod = ($i % 2 );++$i;
			if (!$voMenu['checked']) {
				continue;
			}
			if (!$voMenu['display']) {
				continue;
			}
			if ($voMenu['url']) {
				$url = $vo2['url'];
				$right = '';
				$liClass = '';
			} else {
				$url = 'javascript:;';
				$right = '<span class="pull-right-container"><i class="fa fa-angle-left pull-right"></i></span>';
				$liClass = 'treeview menu-open';
			}
			if ($voMenu['current'] == 1 || $parentRule['parentid'] == $voMenu['id']) {
				$navMenu = '';
				$submenuShow = 'show';
			} else {
				$navMenu = 'collapsed';
				$submenuShow = '';
			}
		?>
		<li class="nav-item">
			<a class="nav-link <?php echo htmlentities($navMenu); ?>" href="#" data-toggle="collapse" data-target="#menu_<?php echo htmlentities($voMenu['id']); ?>" aria-expanded="false" aria-controls="menu_<?php echo htmlentities($voMenu['id']); ?>">
				<i class="iconfontzz icon-menu-shu"></i>
				<span><?php echo htmlentities($voMenu['name']); ?></span>
			</a>
			<div id="menu_<?php echo htmlentities($voMenu['id']); ?>" class="collapse <?php echo htmlentities($submenuShow); ?>">
				<ul class="collapse-inner">
					<h6 class="collapse-header" style="display: none;">Custom Components:</h6>
					<?php if(is_array($voMenu['childs']) || $voMenu['childs'] instanceof \think\Collection || $voMenu['childs'] instanceof \think\Paginator): $i = 0; $__LIST__ = $voMenu['childs'];if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$voChild): $mod = ($i % 2 );++$i;
						if (!$voChild['checked']) {
							continue;
						}
						if (!$voChild['display']) {
							continue;
						}
						if ($voChild['current'] == 1 || $parentRule['id'] == $voChild['id']) {
							$subActive = 'active';
							$navMenu = '';
							$submenuShow = 'show';
						} else {
							$subActive = '';
							$navMenu = 'collapsed';
							$submenuShow = '';
						}
					?>
					<li>
						<?php if($voChild['has_sub']): ?>
							<a class="collapse-item <?php echo htmlentities($navMenu); ?>" href="#" data-toggle="collapse" data-target="#menu_<?php echo htmlentities($voChild['id']); ?>" aria-expanded="false" aria-controls="menu_<?php echo htmlentities($voChild['id']); ?>">
								<i class="iconfontzz icon-menu-shu"></i>
								<span><?php echo htmlentities($voChild['name']); ?></span>
							</a>
							<div id="menu_<?php echo htmlentities($voChild['id']); ?>" class="collapse collapse-sub <?php echo htmlentities($submenuShow); ?>">
								<ul class="bg-white collapse-inner">
									<?php if(is_array($voChild['subs']) || $voChild['subs'] instanceof \think\Collection || $voChild['subs'] instanceof \think\Paginator): $i = 0; $__LIST__ = $voChild['subs'];if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$voSub): $mod = ($i % 2 );++$i;
										if (!$voSub['checked']) {
											continue;
										}
										if (!$voSub['display']) {
											continue;
										}
										if ($voSub['current'] == 1 || $parentRule['id'] == $voSub['id']) {
											$subActive = 'active';
										} else {
											$subActive = '';
										}
									?>
									<li>
										<a class="collapse-item <?php echo htmlentities($subActive); ?>" href="<?php echo htmlentities($voSub['url']); ?>">
											<i class="collapse-item-icon"></i>
											<?php echo htmlentities($voSub['name']); ?>
										</a>
									</li>
									<?php endforeach; endif; else: echo "" ;endif; ?>
								</ul>
							</div>
						<?php else: ?>
							<a class="collapse-item <?php echo htmlentities($subActive); ?>" href="<?php echo htmlentities($voChild['url']); ?>">
								<i class="iconfontzz icon-menu-leaf"></i>
								<span><?php echo htmlentities($voChild['name']); ?></span>
							</a>
						<?php endif; ?>
					</li>
					<?php endforeach; endif; else: echo "" ;endif; ?>
				</ul>
			</div>
			<span class="daui-nav-bar"></span>
		</li>
		<?php endforeach; endif; else: echo "" ;endif; ?>
	<?php endforeach; endif; else: echo "" ;endif; ?>
	
	<!-- Divider -->
	<hr class="sidebar-divider d-none d-md-block">

</ul>
<!-- End of Sidebar -->
	<?php endif; ?>

	<!-- Content Wrapper -->
	<div id="content-wrapper" class="d-flex flex-column">

		<!-- Main Content -->
		<div id="content">

			<!-- Topbar -->
			<nav class="navbar navbar-expand navbar-light bg-white topbar static-top">

				<!-- Sidebar Toggle (Topbar) -->
				<button id="sidebarToggleTop" class="btn btn-link0 d-md-none0 rounded-circle mr-3">
					<i class="iconfontzz icon-bars"></i>
				</button>
				<!-- Sidebar Toggle (Fold) -->
				<button id="sidebarToggleFold" class="btn btn-link0 d-md-block rounded-circle mr-3">
					<i class="iconfontzz icon-dakai"></i>
				</button>

				<!-- Topbar Navbar -->
				<ul class="navbar-nav ml-auto">

					<li class="nav-item dropdown no-arrow">
						<a class="nav-link dropdown-toggle J_ajaxSend" href="<?php echo url('admin/index/delCache'); ?>" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
							<i class="iconfontzz icon-shanchu"></i>
							清除缓存
						</a>
					</li>
					<li class="nav-item dropdown no-arrow">
						<a class="nav-link" href="<?php echo url('home/index/index'); ?>" target="_blank">
							<i class="iconfontzz icon-home"></i>
							前台访问
						</a>
					</li>
					<!-- Nav Item - Search Dropdown (Visible Only XS) -->
					<li class="nav-item dropdown no-arrow d-sm-none">
						<a class="nav-link dropdown-toggle" href="#" id="searchDropdown" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
							<i class="iconfontzz icon-sousuo"></i>
						</a>
						<!-- Dropdown - Messages -->
						<div class="dropdown-menu dropdown-menu-right p-3 shadow animated--grow-in" aria-labelledby="searchDropdown">
							<form class="form-inline mr-auto w-100 navbar-search">
								<div class="input-group">
									<input type="text" class="form-control bg-light border-0 small" placeholder="Search for..." aria-label="Search" aria-describedby="basic-addon2">
									<div class="input-group-append">
										<button class="btn btn-primary" type="button">
											<i class="fas fa-search fa-sm"></i>
										</button>
									</div>
								</div>
							</form>
						</div>
					</li>

					<!-- Nav Item - Alerts -->
					<li class="nav-item dropdown no-arrow mx-1">
						<a class="nav-link dropdown-toggle" href="#" id="alertsDropdown" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
							<i class="iconfontzz icon-bell"></i>
							系统消息
							<!-- Counter - Alerts -->
							<span class="badge badge-danger badge-counter"></span>
						</a>
						<!-- Dropdown - Alerts -->
						<div class="dropdown-list dropdown-menu dropdown-menu-right shadow animated--grow-in" aria-labelledby="alertsDropdown">
							<h6 class="dropdown-header">
								Alerts Center
							</h6>
							<a class="dropdown-item d-flex align-items-center" href="#">
								<div class="mr-3">
									<div class="icon-circle bg-primary">
										<i class="fas fa-file-alt text-white"></i>
									</div>
								</div>
								<div>
									<div class="small text-gray-500">December 12, 2019</div>
									<span class="font-weight-bold">A new monthly report is ready to download!</span>
								</div>
							</a>
							<a class="dropdown-item text-center small text-gray-500" href="#">Show All Alerts</a>
						</div>
					</li>

					<div class="topbar-divider d-none d-sm-block"></div>

					<!-- Nav Item - User Information -->
					<li class="nav-item dropdown no-arrow">
						<a class="nav-link dropdown-toggle" href="#" id="userDropdown" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
							<img class="img-profile rounded-circle mr-2" src="<?php echo htmlentities($adminInfo['avatar']); ?>">
							<span class="d-none d-lg-inline text-gray-600 small"><?php echo htmlentities($adminInfo['username']); ?></span>
						</a>
						<!-- Dropdown - User Information -->
						<div class="dropdown-menu dropdown-menu-right shadow animated--grow-in" aria-labelledby="userDropdown">
							<a class="dropdown-item" href="#" style="display: none">
								<i class="fas fa-user fa-sm fa-fw mr-2 text-gray-400"></i>
								Profile
							</a>
							<a class="dropdown-item" href="#" style="display: none">
								<i class="fas fa-cogs fa-sm fa-fw mr-2 text-gray-400"></i>
								Settings
							</a>
							<a class="dropdown-item" href="#" style="display: none">
								<i class="fas fa-list fa-sm fa-fw mr-2 text-gray-400"></i>
								Activity Log
							</a>
							<a class="dropdown-item" href="<?php echo url('admin/adminUser/index'); ?>">
								<i class="fas fa-list fa-sm fa-fw mr-2 text-gray-400"></i>
								账号管理
							</a>
							<div class="dropdown-divider"></div>
							<a class="dropdown-item" href="#" data-toggle="modal" data-target="#logoutModal">
								<i class="fas fa-sign-out-alt fa-sm fa-fw mr-2 text-gray-400"></i>
								退出
							</a>
						</div>
					</li>

				</ul>

			</nav>
			<!-- End of Topbar -->
			
			<div class="alert alert-danger page-notice J_page_notice" style="display: none"></div>

			<!-- Begin Page Content -->
			<div class="container-fluid mt-1">

				<!-- Page Heading -->
				<h1 class="h3 mb-4 text-gray-800" style="display: none"></h1>
				<section class="page-header">
					<div class="row">
						<div class="col-sm-12">
							<div class="breadcrumb-home">
								<nav aria-label="breadcrumb">
<ol class="breadcrumb">
	<li class="breadcrumb-item"><a href="<?php echo url('admin/index/index'); ?>"><?php echo config('system.site_title'); ?></a></li>
	<li class="breadcrumb-item"><a href="<?php echo url('admin/authRule/index'); ?>"><?php echo htmlentities($sideName); ?></a></li>
</ol>
</nav>
							</div>
							<h2>
<?php echo htmlentities($sideName); ?>
</h2>
						</div>
					</div>
				</section>

				
<div class="card mb-3">
	<div class="card-body">
		<div>筛选总记录：<?php echo htmlentities($count); ?></div>
		<a href="<?php echo url('admin/authRule/ruleCheck'); ?>" target="_blank">检测错误菜单 </a>
	</div>
</div>

<div class="card card-intro mb-3">
	<div class="card-header">
		<ul class="nav nav-tabs">
			<?php
				$active = $cid == 0 ? 'active' : '';
			?>
			<li class="nav-item"><a class="nav-link <?php echo htmlentities($active); ?>" href="<?php echo url('admin/authRule/index'); ?>">全部</a></li>
			<?php if(is_array($cateList) || $cateList instanceof \think\Collection || $cateList instanceof \think\Paginator): $i = 0; $__LIST__ = $cateList;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;					$active = $cid == $vo['id'] ? 'active' : '';
				?>
				<li class="nav-item"><a class="nav-link <?php echo htmlentities($active); ?>" href="<?php echo url('admin/authRule/index', ['cid'=>$vo['id']]); ?>"><?php echo htmlentities($vo['name']); ?></a></li>
			<?php endforeach; endif; else: echo "" ;endif; ?>
		</ul>
	</div>
	<div class="card-body">
		<div class="dataTable-toolbar">
			<a href="<?php echo url('admin/authRule/add'); ?>" class="btn btn-primary btn-sm dataTable-add">添加</a>
		</div>
		<form method="post" action="<?php echo url('admin/authRule/listorders'); ?>" class="J_ajaxForm">
			<table class="table table-striped table-bordered table-hover dataTable-table">
				<thead>
					<tr>
						<th width="50">排序</th>
						<th width="76">ID</th>
						<th width="150">名称</th>
						<th width="150">module</th>
						<th width="150">controller</th>
						<th width="150">action</th>
						<th minwidth="150">附属菜单控制器</th>
						<th width="120">状态</th>
						<th width="120">操作</th>
					</tr>
				</thead>
				<tbody>
					<?php if(is_array($tree) || $tree instanceof \think\Collection || $tree instanceof \think\Paginator): $i = 0; $__LIST__ = $tree;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?>
					<tr>
						<td><input type="text" name="vieworders[<?php echo htmlentities($vo['id']); ?>]" value="<?php echo htmlentities($vo['vieworder']); ?>" class="form-control" /></td>
						<td><?php echo htmlentities($vo['id']); ?></td>
						<td><?php echo htmlentities($vo['name']); ?></td>
						<td><?php echo htmlentities($vo['module']); ?></td>
						<td><?php echo htmlentities($vo['controller']); ?></td>
						<td><?php echo htmlentities($vo['action']); ?></td>
						<td><?php echo htmlentities($vo['subsidiary']); ?></td>
						<td>
							状态：<?php echo $vo['status_show']; ?>
							<br>显示：<?php echo $vo['display_show']; ?>
							<br>独立菜单：<?php echo $vo['is_selfmenu_show']; ?>
						</td>
						<td>
							<a href="<?php echo url('admin/authRule/add', ['id'=>$vo['id']]); ?>" class="btn btn-primary btn-xs dataTable-add">编辑</a>
							<a href="<?php echo url('admin/authRule/doDelete', ['id'=>$vo['id']]); ?>" class="btn btn-danger btn-xs dataTable-delete J_layerConfirm" data-tip="您确定要执行删除操作吗？">删除</a>
							<?php if($adminInfo['groupid'] == 1): ?>
							<a href="<?php echo url('admin/authRule/optimizePopup', ['id'=>$vo['id']]); ?>" class="J_layerPcnewDialog" data-tip="确认优化ID吗？">优化ID(备用)</a>
							<?php endif; ?>
						</td>
					</tr>
					<?php if(is_array($vo['childs']) || $vo['childs'] instanceof \think\Collection || $vo['childs'] instanceof \think\Paginator): $i = 0; $__LIST__ = $vo['childs'];if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo2): $mod = ($i % 2 );++$i;?>
					<tr>
						<td><input type="text" name="vieworders[<?php echo htmlentities($vo2['id']); ?>]" value="<?php echo htmlentities($vo2['vieworder']); ?>" class="form-control" /></td>
						<td><?php echo htmlentities($vo2['id']); ?></td>
						<td>└─&nbsp;<?php echo htmlentities($vo2['name']); ?></td>
						<td><?php echo htmlentities($vo2['module']); ?></td>
						<td><?php echo htmlentities($vo2['controller']); ?></td>
						<td><?php echo htmlentities($vo2['action']); ?></td>
						<td><?php echo htmlentities($vo2['subsidiary']); ?></td>
						<td>
							状态：<?php echo $vo2['status_show']; ?>
							<br>显示：<?php echo $vo2['display_show']; ?>
							<br>独立菜单：<?php echo $vo2['is_selfmenu_show']; ?>
						</td>
						<td>
							<a href="<?php echo url('admin/authRule/add', ['id'=>$vo2['id']]); ?>" class="btn btn-primary btn-xs dataTable-add">编辑</a>
							<a href="<?php echo url('admin/authRule/doDelete', ['id'=>$vo2['id']]); ?>" class="btn btn-danger btn-xs dataTable-delete J_layerConfirm" data-tip="您确定要执行删除操作吗？">删除</a>
							<?php if($adminInfo['groupid'] == 1): ?>
							<a href="<?php echo url('admin/authRule/optimizePopup', ['id'=>$vo2['id']]); ?>" class="J_layerPcnewDialog" data-tip="确认优化ID吗？">优化ID(备用)</a>
							<?php endif; ?>
						</td>
					</tr>
					<?php if(is_array($vo2['subs']) || $vo2['subs'] instanceof \think\Collection || $vo2['subs'] instanceof \think\Paginator): $i = 0; $__LIST__ = $vo2['subs'];if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo3): $mod = ($i % 2 );++$i;?>
					<tr>
						<td><input type="text" name="vieworders[<?php echo htmlentities($vo3['id']); ?>]" value="<?php echo htmlentities($vo3['vieworder']); ?>" class="form-control" /></td>
						<td><?php echo htmlentities($vo3['id']); ?></td>
						<td>└───&nbsp;<?php echo htmlentities($vo3['name']); ?></td>
						<td><?php echo htmlentities($vo3['module']); ?></td>
						<td><?php echo htmlentities($vo3['controller']); ?></td>
						<td><?php echo htmlentities($vo3['action']); ?></td>
						<td><?php echo htmlentities($vo3['subsidiary']); ?></td>
						<td>
							状态：<?php echo $vo3['status_show']; ?>
							<br>显示：<?php echo $vo3['display_show']; ?>
							<br>独立菜单：<?php echo $vo3['is_selfmenu_show']; ?>
						</td>
						<td>
							<a href="<?php echo url('admin/authRule/add', ['id'=>$vo3['id']]); ?>" class="btn btn-primary btn-xs dataTable-add">编辑</a>
							<a href="<?php echo url('admin/authRule/doDelete', ['id'=>$vo3['id']]); ?>" class="btn btn-danger btn-xs dataTable-delete J_layerConfirm" data-tip="您确定要执行删除操作吗？">删除</a>
							<?php if($adminInfo['groupid'] == 1): ?>
							<a href="<?php echo url('admin/authRule/optimizePopup', ['id'=>$vo3['id']]); ?>" class="J_layerPcnewDialog" data-tip="确认优化ID吗？">优化ID(备用)</a>
							<?php endif; ?>
						</td>
					</tr>
					<?php endforeach; endif; else: echo "" ;endif; ?>
					<?php endforeach; endif; else: echo "" ;endif; ?>
					<?php endforeach; endif; else: echo "" ;endif; ?>
				</tbody>
			</table>
			<div class="dataTable-controll">
				<button type="submit" class="btn btn-success btn-sm dataTable-vieworder J_ajaxSubmit">提交排序</button>
			</div>
		</form>
		<div class="dataTable-pages"><?php echo $pageShow; ?></div>
	</div>
</div>


			</div>
			<!-- /.container-fluid -->

		</div>
		<!-- End of Main Content -->

		<!-- Footer -->
		<footer class="sticky-footer bg-white">
			<div class="container my-auto">
				<div class="copyright text-center my-auto">
					<span>Copyright &copy; DancePHP 2020</span>
				</div>
			</div>
		</footer>
		<!-- End of Footer -->

	</div>
	<!-- End of Content Wrapper -->

</div>
<!-- End of Page Wrapper -->

<!-- Scroll to Top Button-->
<a class="scroll-to-top rounded" href="#page-top">
	<i class="iconfontzz icon-jiantou-shang"></i>
</a>

<!-- Logout Modal-->
<div class="modal fade" id="logoutModal" tabindex="-1" role="dialog" aria-labelledby="exampleModalLabel" aria-hidden="true">
	<div class="modal-dialog" role="document">
		<div class="modal-content">
			<div class="modal-header">
				<h5 class="modal-title" id="exampleModalLabel">确认离开吗?</h5>
				<button class="close" type="button" data-dismiss="modal" aria-label="Close">
					<span aria-hidden="true">×</span>
				</button>
			</div>
			<div class="modal-body">如果您准备结束当前会话，请选择下面的“退出”</div>
			<div class="modal-footer">
				<button class="btn btn-secondary" type="button" data-dismiss="modal">取消</button>
				<a class="btn btn-primary" href="<?php echo url('admin/login/logout'); ?>">退出</a>
			</div>
		</div>
	</div>
</div>

<!-- Bootstrap core JavaScript-->
<script src="/static/danceAdmin/vendor/jquery/jquery.min.js"></script>
<script src="/static/danceAdmin/vendor/bootstrap/js/bootstrap.bundle.min.js"></script>

<!-- Core plugin JavaScript-->
<script src="/static/danceAdmin/vendor/jquery-easing/jquery.easing.min.js"></script>

<!-- Custom scripts for all pages-->
<script src="/static/danceAdmin/js/dance-admin.js"></script>

<script type="text/javascript" src="/static/danceui/js/jquery.form.js"></script>
<script type="text/javascript" src="/static/plugins/layer/layer.js"></script>
<script type="text/javascript" src="/static/danceui/js/danceui.js"></script>
<script type="text/javascript" src="/static/danceui/js/danceui-manage.js"></script>
<script type="text/javascript">
layer.config({
	extend: 'kswind/style.css',
});
</script>



<script type="text/javascript">
var url_notice = "<?php echo url('mobmall_manage/index/notice'); ?>";
setInterval(function(){
	$.get(url_notice, {}, function(ret){
		if(ret.code == 1){
			var data = ret.data;
//			if(data.userNum > 0){
// 				layer.open({
// 					type: 0,
// 					title: '通知提示',
// 					content: '有'+data.userNum+'个新会员待审核',
// 					btn: ['立即查看', '取消'],
// 					yes: function(index, layero){
// 						window.location.href = "<?php echo url('mobmall_manage/user/index', ['status'=>2]); ?>";
// 					}
// 				});
//			}
//			if(data.orderNum > 0){
// 				layer.open({
// 					type: 0,
// 					title: '通知提示',
// 					content: '有'+data.orderNum+'个新订单待审核',
// 					btn: ['立即查看', '取消'],
// 					yes: function(index, layero){
// 						window.location.href = "<?php echo url('mobmall_manage/order/index', ['flag'=>'wvalidation']); ?>";
// 					}
// 				});
//			}
			if(data.noticeTip){
				$('.J_page_notice').html(data.noticeTip);
				$('.J_page_notice').fadeIn(3000);
			}
		}else if(ret.code == 0){
			Wei.Util.wapTipNew({msg: ret.msg, icon: 2, data: ret.data, url: ret.url});
		}
	}, 'json');
}, 20000);
</script>
</body>
</html>